package com.intellagric.mapper;

import com.intellagric.pojo.TraceInvest;
import com.intellagric.pojo.TraceInvestExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TraceInvestMapper {
    long countByExample(TraceInvestExample example);

    int deleteByExample(TraceInvestExample example);

    int deleteByPrimaryKey(String id);

    int insert(TraceInvest record);

    int insertSelective(TraceInvest record);

    List<TraceInvest> selectByExample(TraceInvestExample example);

    TraceInvest selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TraceInvest record, @Param("example") TraceInvestExample example);

    int updateByExample(@Param("record") TraceInvest record, @Param("example") TraceInvestExample example);

    int updateByPrimaryKeySelective(TraceInvest record);

    int updateByPrimaryKey(TraceInvest record);
}